<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ page import="com.biz.utils.ConfigUtil" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	String resoursUrl = ConfigUtil.get("RESOURCES_URL");
%>

<!doctype html>
<html class="no-js" >
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>个人资料</title>
	<meta name="description" content="">
	<meta name="keywords" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<meta name="renderer" content="webkit">
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<meta name="format-detection" content="telephone=no" />
	<jsp:include page="/jsp/inc.jsp"></jsp:include>
</head>
<body>
<div class="perzlup">
	<div class="perlist">
		<div class="fl-l label">头像</div>
		<div class="fl-r perrightinfo">
			<c:if test="${pbaseUser.cover == ''}">
				<img src="<%=basePath%>resources/image/mytx.png" class="perTx"/>
			</c:if>
			<c:if test="${pbaseUser.cover != ''}">
				<img src="${pbaseUser.cover}" class="perTx"/>
			</c:if>
		</div>
		<br class="clear"/>
	</div>
	<div class="perlist">
		<div class="fl-l label">昵称</div>
		<div class="fl-r perrightinfo">${pbaseUser.personName}</div>
		<br class="clear"/>
	</div>
	<div class="perlist">
		<div class="fl-l label">地区</div>
		<div class="fl-r perrightinfo">${pbaseUser.province}&nbsp;&nbsp;${pbaseUser.city}</div>
		<br class="clear"/>
	</div>
</div>
<div class="m-cell mylie">
	<div class="cell-item padleft0" onclick="toEditDetail();">
		<div class="cell-left">
			真实姓名
		</div>
		<div class="cell-right">
			${pbaseUser.userName}&nbsp;&nbsp;<i class="next-ico arrow_right"></i>
		</div>
	</div>
	<div class="cell-item padleft0"  onclick="toEditDetail();">
		<div class="cell-left">
			手机号
		</div>
		<div class="cell-right">
			${pbaseUser.phone}&nbsp;&nbsp;<i class="next-ico arrow_right"></i>
		</div>
	</div>
</div>
<script >
    function toEditDetail(){
        window.location.href='${pageContext.request.contextPath}/userCenter/toEditDetail.ac';
	}
</script>

</body>
</html>
